cmake_minimum_required(VERSION 3.5.0)
project(rc522 VERSION 0.1.0 LANGUAGES C CXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fPIC -fpermissive")
add_library(rc522 SHARED librc522.cpp ctl_gpio.cpp)

target_link_libraries(rc522 PUBLIC libhilog_ndk.z.so)